package com.ruoyi.api.abuwx.api;

import com.ruoyi.api.abuwx.service.RegionaService;
import com.ruoyi.common.annotation.SaClientCheckLogin;
import com.ruoyi.common.core.domain.AjaxResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zouhuu
 * @description 地区模块API
 */
@SaClientCheckLogin
@RestController
@RequestMapping("/api/abuwx")
//@Api(tags = "客户端-地区模块API")
public class RegionalApi {

    @Autowired
    private RegionaService regionaService;


//    @ApiOperation("地区列表")
    @GetMapping("/Regiona")
    public AjaxResult addressList () {
        return regionaService.addressList();
    }
}
